[IA64] Stop all cpus at panic
authorAlex Williamson <alex.williamson@hp.com>
Tue, 11 Dec 2007 17:22:37 +0000 (10:22 -0700)
committerAlex Williamson <alex.williamson@hp.com>
Tue, 11 Dec 2007 17:22:37 +0000 (10:22 -0700)
commit50193242eac116958590034ad0d4c9ce2be779f1
treef08049d093850a5d20330d879984033c68a6d42b
parent0415a75d23bba11eda861e805600f90b483a0329
[IA64] Stop all cpus at panic

Current panic() of hypervisor doesn't stop all cpus.
So domains can work after hypervisor panic (when using
noreboot option).  If dom0 continues to work after
xen panic, the system may get into serious problems.

This patch fixes the issue.

I chose cpu_halt() to stop other cpus by smp_send_stop().
I think it should work fine for kexec.  machine_halt()
is only spinloop for leaving the panic calltrace.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
xen/arch/ia64/linux-xen/smp.c
xen/arch/ia64/xen/domain.c